
{% if page.version == 'master' %}
<div class="alert alert-primary" role="alert">
  <p>
  <i class="fa fa-exclamation-triangle" aria-hidden="true"></i>
  This is the documentation for the latest development version of Sonobuoy. Both code and docs may be
  unstable, and these docs are not guaranteed to be up to date or correct. See the
  <a href="{{latest_url}}">latest version</a>.
  </p>
</div>
{% else %}
  {% if page.version != site.latest %}
  <div class="alert alert-primary" role="alert">
  <p>
  <i class="fa fa-exclamation-triangle" aria-hidden="true"></i>
  Documentation for version {{ page.version }} is no longer actively maintained.
  The version you are currently viewing is a static snapshot.
  For up-to-date documentation, see the <a href="{{latest_url}}">latest version</a>.
  </p>
  </div>
  {% endif %}
{% endif %}